<?php


namespace App\Http\Requests\Order\Shipment;


use Illuminate\Foundation\Http\FormRequest;
use Illuminate\Validation\Rule;

class ChooseRequest extends FormRequest
{
    /**
     * @return array
     * @author luffyzhao@vip.126.com
     */
    public function rules()
    {
        return [
            'ids' => ['required', 'array'],
            'ids.*' => ['required', 'integer'],
        ];
    }
}